params ["_player", "_varName", "_defualt"];
profileNamespace setVariable [format["%1_%2", getPlayerUID _player, _varName], _player getVariable[_varName, _defualt]];